www.gusucode.com > VC++网络版的打字软件源程序-源码程序 > VC++网络版的打字软件源程序-源码程序\code\TypeClt V2.0\InputDlg.cpp
// InputDlg.cpp : implementation file // Download by http://www.NewXing.com #include "stdafx.h" #include "type.h" #include "InputDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CInputDlg dialog CInputDlg::CInputDlg(CWnd* pParent /*=NULL*/) : CDialog(CInputDlg::IDD, pParent) { //{{AFX_DATA_INIT(CInputDlg) m_strID = _T(""); m_strName = _T(""); m_nRate = 0; m_nSpeed = 0; //}}AFX_DATA_INIT } void CInputDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CInputDlg) DDX_Text(pDX, IDC_ID, m_strID); DDX_Text(pDX, IDC_NAME, m_strName); DDX_Text(pDX, IDC_RATE, m_nRate); DDX_Text(pDX, IDC_SPEED, m_nSpeed); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CInputDlg, CDialog) //{{AFX_MSG_MAP(CInputDlg) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CInputDlg message handlers